<template>
	<div class="bargain-info-share">
		<div class="bargain-info-share-content">
			<div class="bargain-info-share-content-close" @click="close">
			</div>
			<div class="bargain-info-share-content-message">
				<p>恭喜</p>
				<p>砍价创建成功</p>
				<p>快邀请好友来砍价吧~</p>
			</div>
			<div class="bargain-info-share-content-actions">
				<div class="bargain-info-share-content-actions-share" @click="share">
					<div class="iconfont icon-share2"></div>
					<p>邀请好友</p>
				</div>
				<div class="bargain-info-share-content-actions-code" @click="code">
					<div class="iconfont icon-image"></div>
					<p>生成二维码</p>
				</div>
			</div>
		</div>
		<div class="bargain-info-share-layer" @click="close"></div>
	</div>
</template>

<script>
	export default {
		name: "shareDialog",
		methods: {
			share() {
				this.$emit('share');
			},
			code() {
				this.$message({
					type: 'error',
					message: '暂未上线二维码功能'
				})
			},
			close() {
				this.$emit('close');
			}
		}
	}
</script>
